﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ForSql.SmartLibrary.MetaDataAttributes
{
    public class ColumnNameAttribute:Attribute
    {
        private string _name;

        /// <summary>
        /// 构造ColmunNameAttribute
        /// </summary>
        /// <param name="columnName">数据库对应的列表</param>
        public ColumnNameAttribute(string columnName)
        {
            _name = columnName;
        }

        public string ColumnName
        {
            get
            {
                return _name;
            }
        }
    }
}
